package com.shangfeng.demo.service.impl;

import com.shangfeng.demo.service.IIndexService;
import com.shangfeng.mvc.annotation.SFService;

/**
 * @program: sfmvc
 * @description: service
 * @author: weizj
 * @create: 2018-11-11 22:11
 **/
@SFService
public class IndexService implements IIndexService {

    public String sayHello(String name) {
        return "My name is " + name + "!";
    }

    public String sayAge(Integer age) {
        return "My age is " + age + "!";
    }
}
